package com.lufei.message_system.Data.UserVD;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "用户登录DTO")
public class UserLoginDTO {
    @Schema(description = "用户号", example = "1001", required = true)
    private String userId;

    @Schema(description = "密码", example = "123456", required = true)
    private String password;

    @Schema(description = "角色", example = "admin",
            allowableValues = {"admin", "teacher", "student"}, required = true)
    private String role;
}